package com.lovo.common.model;

/**
 * 职位模型对象
 * @author 白德柯
 *
 */
public class WorkBean {
    private int id;
    /** 职位名称 */
    private String workName;
    /** 职位描述 */
    private String info;
    /** 资料管理权限 */
    private int dataPerm;
    /** 学校管理权限 */
    private int schoolPerm;
    /** 用户管理权限 */
    private int userPerm;
    /** 统计信息权限 */
    private int totalPerm;
    /** 资料管理权限值 */
    private String dataPermValue;
    /** 学校管理权限值 */
    private String schoolPermValue;
    /** 用户管理权限值 */
    private String userPermValue;
    /** 统计信息权限值 */
    private String totalPermValue;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getWorkName() {
        return workName;
    }

    public void setWorkName(String workName) {
        this.workName = workName;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public int getDataPerm() {
        return dataPerm;
    }

    public void setDataPerm(int dataPerm) {
        this.dataPerm = dataPerm;
    }

    public int getSchoolPerm() {
        return schoolPerm;
    }

    public void setSchoolPerm(int schoolPerm) {
        this.schoolPerm = schoolPerm;
    }

    public int getUserPerm() {
        return userPerm;
    }

    public void setUserPerm(int userPerm) {
        this.userPerm = userPerm;
    }

    public int getTotalPerm() {
        return totalPerm;
    }

    public void setTotalPerm(int totalPerm) {
        this.totalPerm = totalPerm;
    }

    public String getDataPermValue() {
        return dataPermValue;
    }

    public void setDataPermValue(String dataPermValue) {
        this.dataPermValue = dataPermValue;
    }

    public String getSchoolPermValue() {
        return schoolPermValue;
    }

    public void setSchoolPermValue(String schoolPermValue) {
        this.schoolPermValue = schoolPermValue;
    }

    public String getUserPermValue() {
        return userPermValue;
    }

    public void setUserPermValue(String userPermValue) {
        this.userPermValue = userPermValue;
    }

    public String getTotalPermValue() {
        return totalPermValue;
    }

    public void setTotalPermValue(String totalPermValue) {
        this.totalPermValue = totalPermValue;
    }

    @Override
    public String toString() {
        return workName;
    }

//    @Override
//    public String toString() {
//        return "WorkBean{" +
//                "id=" + id +
//                ", workName='" + workName + '\'' +
//                ", info='" + info + '\'' +
//                ", dataPerm=" + dataPerm +
//                ", schoolPerm=" + schoolPerm +
//                ", userPerm=" + userPerm +
//                ", totalPerm=" + totalPerm +
//                ", dataPermValue='" + dataPermValue + '\'' +
//                ", schoolPermValue='" + schoolPermValue + '\'' +
//                ", userPermValue='" + userPermValue + '\'' +
//                ", totalPermValue='" + totalPermValue + '\'' +
//                '}';
//    }
}
